home *** CD-ROM | disk | FTP | other *** search
/ The Complete Utilities To…ka 501 Killer Utilities! / 501 Killer Utilities! (Macworld July 1995).cdr / Programming / OutOfPhase1.1 Source / OutOfPhase Folder / WaveIndexUtility.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-04  |  764 b   |  28 lines  |  [TEXT/KAHL]

  1. /* WaveIndexUtility.h */
  2.  
  3. #ifndef Included_WaveIndexUtility_h
  4. #define Included_WaveIndexUtility_h
  5.  
  6. /* WaveIndexUtility module depends on */
  7. /* MiscInfo.h */
  8. /* Audit */
  9. /* Debug */
  10. /* Definitions */
  11. /* FastFixedPoint */
  12. /* 64BitMath */
  13. /* Memory */
  14.  
  15. #include "FastFixedPoint.h"
  16.  
  17. /* perform wavetable indirection on an 8 bit wave */
  18. /* returns a value between MAX16BIT and MIN16BIT */
  19. signed long                    WaveTable8Bit(float Phase, FastFixedType TableIndex,
  20.                                             long NumTables, long Frames, signed char** Matrix);
  21.  
  22. /* perform wavetable indirection on a 16 bit wave */
  23. /* returns a value between MAX16BIT and MIN16BIT */
  24. signed long                    WaveTable16Bit(float Phase, FastFixedType TableIndex,
  25.                                             long NumTables, long Frames, signed short** Matrix);
  26.  
  27. #endif
  28.